//
//  GYSearchGoos.h
//  GoodLuck
//
//  Created by apple on 2018/3/7.
//  Copyright © 2018年 yunjiazhineng. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface GYSearchGoos : NSObject

/** 商品ID*/
@property (nonatomic, strong) NSString *goods_id;

/** 店铺ID */
@property (nonatomic, strong) NSString *store_id;

/** 商品名称 */
@property (nonatomic, strong) NSString *goods_name;

/** 商品价格 */
@property (nonatomic, strong) NSString *goods_price;

/** 商品促销价格 */
@property (nonatomic, strong) NSString *goods_promotion_price;

/** 商品促销类型 */
@property (nonatomic, strong) NSString *goods_promotion_type;

/** 商品市场价格 */
@property (nonatomic, strong) NSString *goods_marketprice;

/** 商品图片地址 */
@property (nonatomic, strong) NSString *goods_image_url;

/** 商品销售数量 */
@property (nonatomic, strong) NSString *goods_salenum;

/** 店铺名称 */
@property (nonatomic, strong) NSString *store_name;

/** 商品简介 */
@property (nonatomic, strong) NSString *goods_jingle;

/**
 通过数据加载一个数据模型

 @param source <#source description#>
 @return <#return value description#>
 */
+ (NSMutableArray *)loadGoodsData:(NSArray *)source;

/**
 初始化

 @param dic <#dic description#>
 @return <#return value description#>
 */
- (instancetype)initWithDic:(NSDictionary *)dic;
/*
"goods_id":"100631",
"store_id":"75",
"goods_name":"有味生活即食海参",
"goods_price":"180.00",
"goods_promotion_price":"180.00",
"goods_promotion_type":"0",
"goods_marketprice":"220.00",
"goods_image":"75_05381382873106952.jpg",
"goods_salenum":"0",
"evaluation_good_star":"5",
"evaluation_count":"0",
"is_virtual":"0",
"is_presell":"0",
"is_fcode":"0",
"have_gift":"0",
"goods_jingle":"大连鲜食海参即食海参500g辽参野生即时海参刺参大连海鲜特产",
"store_name":"有味生活自营",
"is_own_shop":"0",
"group_flag":false,
"xianshi_flag":false,
"goods_image_url":"http://119.29.88.192:8080/data/upload/shop/common/default_goods_image_360.gif"
}
 */
@end
